Subtree Isomorphism Revisited

نویسندگان

  • Amir Abboud
  • Arturs Backurs
  • Thomas Dueholm Hansen
  • Virginia Vassilevska Williams
  • Or Zamir
چکیده

The Subtree Isomorphism problem asks whether a given tree is contained in another given tree. The problem is of fundamental importance and has been studied since the 1960s. For some variants, e.g., ordered trees, near-linear time algorithms are known, but for the general case truly subquadratic algorithms remain elusive. Our first result is a reduction from the Orthogonal Vectors problem to Subtree Isomorphism, showing that a truly subquadratic algorithm for the latter refutes the Strong Exponential Time Hypothesis (SETH). In light of this conditional lower bound, we focus on natural special cases for which no truly subquadratic algorithms are known. We classify these cases against the quadratic barrier, showing in particular that: • Even for binary, rooted trees, a truly subquadratic algorithm refutes SETH. • Even for rooted trees of depth O(log log n), where n is the total number of vertices, a truly subquadratic algorithm refutes SETH. • For every constant d, there is a constant εd > 0 and a randomized, truly subquadratic algorithm for degree-d rooted trees of depth at most (1 + εd) logd n. In particular, there is an O(min{2.85, n}) algorithm for binary trees of depth h. Our reductions utilize new “tree gadgets” that are likely useful for future SETH-based lower bounds for problems on trees. Our upper bounds apply a folklore result from randomized decision tree complexity.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Faster subtree isomorphism

We study the subtree isomorphism problem: Given trees H and G, find a subtree of G which is isomorphic to H or decide that there is no such subtree. We give an O( k1:5 logkn)time algorithm for this problem, where k and n are the number of vertices in H and G respectively. This improves over the O(k1:5n) algorithms of Chung and Matula. We also give a randomized (Las Vegas) O(min(k1:45n; kn1:43))...

متن کامل

Induced Subtrees in Interval Graphs

The Induced Subtree Isomorphism problem takes as input a graph G and a tree T , and the task is to decide whether G has an induced subgraph that is isomorphic to T . This problem is known to be NP-complete on bipartite graphs, but it can be solved in polynomial time when G is a forest. We show that Induced Subtree Isomorphism can be solved in polynomial time when G is an interval graph. In cont...

متن کامل

Subtree Isomorphism is in DLOG for Nested Trees

This research note shows subtree isomorphism is in DLOG, and hence NC 2 , for nested trees. To our knowledge this result provides the rst interesting class of trees for which the problem is in a non-randomized version of NC. We also show that one can determine whether or not an arbitrary tree is a nested tree in DLOG.

متن کامل

Faster Algorithms for the Maximum Common Subtree Isomorphism Problem

The maximum common subtree isomorphism problem asks for the largest possible isomorphism between subtrees of two given input trees. This problem is a natural restriction of the maximum common subgraph problem, which is NP-hard in general graphs. Confining to trees renders polynomial time algorithms possible and is of fundamental importance for approaches on more general graph classes. Various v...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016